 

#region Copyright Statement
//////////////////////////////////////////////
//	ORMAC
//  By: Ali Ghomi (2011)
//////////////////////////////////////////////
#endregion

#region using
using System;
using System.Collections.Generic;
using ORMAC;
using ORMAC.Attributes;
using System.Runtime.Serialization;
#endregion

namespace Test
{
	/// <summary>
	/// Auto generated class by ORMAC from CustomerDemographics table
	/// </summary>
	[Table("CustomerDemographics")]
	[DataContract]
	public class OCustomerDemographics
	{
		/// <summary>
		/// Auto generated property by ORMAC from CustomerTypeID column
		/// </summary>		
		[PrimaryKey]
		[Field("CustomerTypeID")]
		[DataMember]
		public string CustomerTypeID{
			get;
			set;
		}
		/// <summary>
		/// Auto generated property by ORMAC from CustomerDesc column
		/// </summary>		
		[Field("CustomerDesc")]
		[DataMember]
		public string CustomerDesc{
			get;
			set;
		}
		[DataMember]
		[LinkTable(LinkTableName="CustomerCustomerDemo", ParentCol="CustomerTypeID",LinkTableParentCol="CustomerTypeID",LinkTableChildCol="CustomerID",ChildCol="CustomerID")]		
		public List<OCustomers> Customerss{
			get;
			set;
		}

	}
}
